package cn.ilovese.collect.vo.report;

import cn.ilovese.collect.po.report.Coordination;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;

@Data
@NoArgsConstructor
public class CoordinationVO {
    private Integer id;
    private Integer fatherId;
    private Integer childrenId;

    public CoordinationVO(@NonNull Coordination coordination){
        id = coordination.getId();
        fatherId = coordination.getFatherId();
        childrenId = coordination.getChildrenId();
    }
}
